package projet.entity;

import java.io.Serializable;
import javax.persistence.*;

@Entity
@DiscriminatorValue("BA")
public class BusinessAngel extends Investisseur implements Serializable {
	private static final long serialVersionUID = 1L;

    @ManyToOne
    @JoinColumn(name="id_club")
	private Club club;

    public BusinessAngel() {
    	super();
    }
    
    public BusinessAngel(String nom, String prenom,float apport, String email, String tel,Compte compte) {
    	super(nom,prenom,apport,email,tel,compte);
    }

	public void setClub(Club club) {
		this.club = club;
	}

	public Club getClub() {
		return club;
	} 
    
}